import Vue from 'vue'
import Vuex from 'vuex'

import actions from './actions.js'
import cart from './modules/cart'
import products from './modules/productList'

Vue.use(Vuex)

export default new Vuex.Store({
  actions,
  modules: {
    cart,
    products
  }
})
